# Contributor: Marian Buschsieweke <marian.buschsieweke@ovgu.de>
# Maintainer: Marian Buschsieweke <marian.buschsieweke@ovgu.de>
pkgname=py3-simplesoapy
pkgver=1.5.1
pkgrel=5
pkgdesc="Simple pythonic wrapper for SoapySDR library"
url="https://github.com/xmikos/simplesoapy"
arch="noarch"
license="MIT"
depends="python3 py3-numpy py3-soapy-sdr"
makedepends="py3-setuptools soapy-sdr-dev"
subpackages="$pkgname-pyc"
source="$pkgname-$pkgver.tar.gz::https://github.com/xmikos/simplesoapy/archive/v$pkgver.tar.gz"
builddir="$srcdir/simplesoapy-$pkgver"
options="!check" # no unit tests provided

build() {
	python3 setup.py build
}

package() {
	python3 setup.py install --skip-build --root="$pkgdir"
}

sha512sums="
5ef0a4fcd84e1da9207154d4b8c4679e8aa2c9885ca76eacb17c4fbd39f489be459f52bfd42ee9b369790c33a02ecc5d776735cf1665f3ee034c1e315fdbb818  py3-simplesoapy-1.5.1.tar.gz
"
